home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
p4
/
p4-1_2b.lha
/
p4-1.2b
/
contrib
/
makefile.proto
< prev
next >
Wrap
Makefile
|
1993-02-08
|
846b
|
32 lines
P4_HOME_DIR = ..
INCLUDEDIR = $(P4_HOME_DIR)/include
LIBDIR = $(P4_HOME_DIR)/lib
LIBS = $(LIBDIR)/libp4.a $(MDEP_LIBS)
default:
all:
make $(MFLAGS) lm_master lm1_master
make $(MFLAGS) simpglob
make $(MFLAGS) lm_slave lm1_slave
simpglob:$(P) simpglob.o $(LIBDIR)/libp4.a
$(CC) $(CFLAGS) -o simpglob simpglob.o $(LIBS)
lm_master:$(P) lm_master.o lm_slave.o $(LIBDIR)/libp4.a
$(CC) $(CFLAGS) -o lm_master lm_master.o lm_slave.o $(LIBS)
lm_slave:$(P) lm_slave.o $(LIBDIR)/libp4.a
$(CC) $(CFLAGS) -o lm_slave lm_slave.o $(LIBS)
lm1_master:$(P) lm1_master.o lm1_slave.o $(LIBDIR)/libp4.a
$(CC) $(CFLAGS) -o lm1_master lm1_master.o lm1_slave.o $(LIBS)
lm1_slave:$(P) lm1_slave.o $(LIBDIR)/libp4.a
$(CC) $(CFLAGS) -o lm1_slave lm1_slave.o $(LIBS)
realclean: clean
$(RM) -f lm_master lm_slave lm1_master lm1_slave \
simpglob Makefile